build: keep matplotlib below 3.11 while Python 3.10 is supported - #49
Merged
1 commit merged intoSep 7, 2026
Merged
Conversation
matplotlib 3.11 requires Python >= 3.11, and this package still declares requires-python >= 3.10 with a 3.10 job in CI. Dependabot's bump in #47 was compiled on a newer interpreter, so its lockfile dropped the pins that only 3.10 needs (typing-extensions, tomli, exceptiongroup) and the hashed install failed on the first job; it also rewrote the floor in ci.in to >= 3.11.1. Pin the ceiling in ci.in with the reason beside it, and tell Dependabot to skip feature bumps of matplotlib under /requirements so the same PR does not reopen every week. Patch releases still flow. The regenerated ci.txt is byte-identical to the current one, which confirms the lock was already the 3.10-compatible resolution. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014gwmBVUHSgohCLkNVqAR77 Signed-off-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces #47, which cannot land as opened.
Why #47 failed
matplotlib 3.11 requires Python >= 3.11. This package declares
requires-python >= 3.10and CI runs a 3.10 job. Dependabot compiled its lockfile on a newer interpreter, so the regeneratedrequirements/ci.txtdropped the pins that only 3.10 needs (typing-extensions,tomli,exceptiongroup), and the hashed install failed on the first job:It also rewrote the floor in
requirements/ci.intomatplotlib>=3.11.1, which would drop 3.10 support silently.What this does
requirements/ci.in:matplotlib>=3.8,<3.11, with the reason beside it. Lift the ceiling whenrequires-pythonmoves to 3.11..github/dependabot.yml: ignore semver-minor and semver-major matplotlib bumps under/requirements, so the same PR does not reopen weekly. Patch releases still flow.requirements/ci.txt: regenerated with pip-compile on 3.10 from the newci.in. The output is byte-identical to the current file, which confirms the existing lock was already the 3.10-compatible resolution, so no lockfile diff appears here.Verification
Fresh venvs on 3.10 and 3.11, each
pip install --require-hashes -r requirements/ci.txt && pip install --no-deps -e ., then:After merging
Close #47 (Dependabot will not re-open it once the ignore rule is on main). #48 touches
ci.in/ci.txttoo and has been brought up to date with this branch so it merges in either order.🤖 Generated with Claude Code
https://claude.ai/code/session_014gwmBVUHSgohCLkNVqAR77
Generated by Claude Code